const path = require('path');
const mongo = require('./mongo');
const Load = require('../../utils/_load');

module.exports = Load.loadFileSync(
  path.resolve(__dirname, './model/'),
  Load.firstUpper,
  [__filename],
  undefined,
  model => model(mongo.mongoose)
);